<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="author" content="wangbo">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>模块化使用</title>
</head>
<body>

   <script src="./chp09模块演变3.js"></script>
   <script>
// IIFE
      // (function (i) {
      //    console.log(i);
      //    console.log(1111);
      // })(10)
      let num ="张三"
      modul.add()
      modul.num = "李四"
      modul.show()
      
   </script>
</body>
</html>